﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.ComponentModel.DataAnnotations;

namespace University.Models
{
    public class Domain
    {
        public int DomainId { get; set; }

        [Required(ErrorMessage = "Please enter domain name")]
        [Display(Name = "Name in Romanian")]
        public string NameRomanian { get; set; }

        [Required(ErrorMessage = "Please enter domain name")]
        [Display(Name = "Name in Russian")]
        public string NameRussian { get; set; }

        [Required(ErrorMessage = "Please enter domain name")]
        [Display(Name = "Name in other")]
        public string NameOther { get; set; }

        [Required(ErrorMessage = "Please enter description")]
        [Display(Name = "Description")]
        public string Desciption { get; set; }

        public virtual Department Department { get; set; }
        public virtual ICollection<Group> Groups { get; set; }



    }
}